import React, { Component } from 'react'
import './App.css';
import Router from './route';
import {Link, NavLink, withRouter} from 'react-router-dom'
// import Transition1 from './Transition1';
// import Transition2 from './Transition2';
// import Transition3 from './Transition3';
class App1 extends Component {
  constructor() {
    super();
    this.state = {}
  }
  render() {
    return (
      <div>
        {/* <Transition1></Transition1> */}
        {/* <Transition2></Transition2> */}
        {/* <Transition3></Transition3> */}
        <Router></Router>
      </div>
    )
  }
}
// 路由组件和非路由组件--被<Route>包裹的组件是路由组件，有路由对应的属性和方法
// withRouter处理之后  也成为了路由组件
let App = withRouter(App1);
export default App

